.class Lcom/instagram/android/creation/b/cb;
.super Ljava/lang/Object;
.source "FollowersShareFragment.java"

# interfaces
.implements Landroid/widget/CompoundButton$OnCheckedChangeListener;


# instance fields
.field final synthetic a:Lcom/instagram/android/creation/b/bs;


# direct methods
.method constructor <init>(Lcom/instagram/android/creation/b/bs;)V
    .locals 0
    .parameter

    .prologue
    .line 274
    iput-object p1, p0, Lcom/instagram/android/creation/b/cb;->a:Lcom/instagram/android/creation/b/bs;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onCheckedChanged(Landroid/widget/CompoundButton;Z)V
    .locals 5
    .parameter "buttonView"
    .parameter "isChecked"

    .prologue
    const/4 v4, 0x0

    .line 277
    if-eqz p2, :cond_2

    .line 279
    iget-object v0, p0, Lcom/instagram/android/creation/b/cb;->a:Lcom/instagram/android/creation/b/bs;

    invoke-static {v0}, Lcom/instagram/android/creation/b/bs;->g(Lcom/instagram/android/creation/b/bs;)Z

    move-result v0

    if-nez v0, :cond_0

    .line 280
    iget-object v0, p0, Lcom/instagram/android/creation/b/cb;->a:Lcom/instagram/android/creation/b/bs;

    invoke-static {v0}, Lcom/instagram/android/creation/b/bs;->h(Lcom/instagram/android/creation/b/bs;)V

    .line 283
    :cond_0
    invoke-static {}, Lcom/instagram/m/b/a;->a()Lcom/instagram/m/b/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/m/b/a;->m()Z

    move-result v0

    if-nez v0, :cond_1

    .line 284
    new-instance v0, Lcom/instagram/ui/a/a;

    iget-object v1, p0, Lcom/instagram/android/creation/b/cb;->a:Lcom/instagram/android/creation/b/bs;

    invoke-virtual {v1}, Lcom/instagram/android/creation/b/bs;->j()Landroid/support/v4/app/j;

    move-result-object v1

    sget v2, Lcom/facebook/ax;->popup_photo_maps_confirm_geotag:I

    sget v3, Lcom/facebook/bb;->IgDialogFull:I

    invoke-direct {v0, v1, v2, v3}, Lcom/instagram/ui/a/a;-><init>(Landroid/content/Context;II)V

    sget v1, Lcom/facebook/ba;->ok_i_understand:I

    invoke-virtual {v0, v1, v4}, Lcom/instagram/ui/a/a;->a(ILandroid/content/DialogInterface$OnClickListener;)Lcom/instagram/ui/a/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/ui/a/a;->b()Landroid/app/Dialog;

    move-result-object v0

    invoke-virtual {v0}, Landroid/app/Dialog;->show()V

    .line 292
    invoke-static {}, Lcom/instagram/m/b/a;->a()Lcom/instagram/m/b/a;

    move-result-object v0

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lcom/instagram/m/b/a;->f(Z)Z

    .line 298
    :cond_1
    :goto_0
    invoke-static {}, Lcom/instagram/m/b/a;->a()Lcom/instagram/m/b/a;

    move-result-object v0

    invoke-virtual {v0, p2}, Lcom/instagram/m/b/a;->c(Z)Z

    .line 299
    iget-object v0, p0, Lcom/instagram/android/creation/b/cb;->a:Lcom/instagram/android/creation/b/bs;

    invoke-static {v0}, Lcom/instagram/android/creation/b/bs;->i(Lcom/instagram/android/creation/b/bs;)V

    .line 300
    return-void

    .line 295
    :cond_2
    iget-object v0, p0, Lcom/instagram/android/creation/b/cb;->a:Lcom/instagram/android/creation/b/bs;

    invoke-static {v0, v4}, Lcom/instagram/android/creation/b/bs;->a(Lcom/instagram/android/creation/b/bs;Landroid/location/Location;)V

    .line 296
    iget-object v0, p0, Lcom/instagram/android/creation/b/cb;->a:Lcom/instagram/android/creation/b/bs;

    invoke-virtual {v0, v4, v4}, Lcom/instagram/android/creation/b/bs;->a(Lcom/instagram/venue/model/Venue;Ljava/lang/String;)V

    goto :goto_0
.end method
